package com.yang.bean;

import java.util.Date;

import com.yang.utils.TimeU;

/**
 * 用户实体类
 * 
 * @author admin
 *
 */
public class User {
    private int id;
    private String userName;
    private String passWord;
    private Date createTime;
    private Date updateTime;
    private int state;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCreateTime() {
        return TimeU.dateTimeFormate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return TimeU.dateTimeFormate(updateTime);
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }
}
